﻿require.config({
  paths: {
    "yvanui.core": '/yvanui/yvanui.core',
    "yvanui.components": '/yvanui/yvanui.components',
    "yvanui.form": '/yvanui/yvanui.form',

    "jQuery": "/scripts/jquery-1.11.1.min",
    "jqxcore": "/jqwidgets/jqxcore",
    "jqxbuttons": "/jqwidgets/jqxbuttons",
    "jqxpanel": "/jqwidgets/jqxpanel",
    "jqxscrollbar": "/jqwidgets/jqxscrollbar",
    "jqxtree": "/jqwidgets/jqxtree",
    "jqxsplitter": "/jqwidgets/jqxsplitter",
    "jqxtabs": "/jqwidgets/jqxtabs",
    "jqxlistbox": "/jqwidgets/jqxlistbox",
    "jqxcombobox": "/jqwidgets/jqxcombobox",
    "jqxcheckbox": "/jqwidgets/jqxcheckbox",
    "jqxinput": "/jqwidgets/jqxinput",
    "jqxdatetimeinput": "/jqwidgets/jqxdatetimeinput",
    "jqxcalendar": "/jqwidgets/jqxcalendar",
    "jqxradiobutton": "/jqwidgets/jqxradiobutton",
    "jqxpasswordinput": "/jqwidgets/jqxpasswordinput",
    "jqxnumberinput": "/jqwidgets/jqxnumberinput",
    "jqxform": "/jqwidgets/jqxform",
    "jqxtoolbar": "/jqwidgets/jqxtoolbar",
    "jqxdropdownlist": "/jqwidgets/jqxdropdownlist",
    "jqxtreegrid": "/jqwidgets/jqxtreegrid",
    "jqxmenu": "/jqwidgets/jqxmenu",
    "jqxdata": "/jqwidgets/jqxdata",
    "jqxdatatable": "/jqwidgets/jqxdatatable",

    "jqxnotification": "/jqwidgets/jqxnotification",
    "jqxwindow": "/jqwidgets/jqxwindow",

    "jqxgrid": "/jqwidgets/jqxgrid",
    "jqxgrid.aggregates": "/jqwidgets/jqxgrid.aggregates",
    "jqxgrid.columnsreorder": "/jqwidgets/jqxgrid.columnsreorder",
    "jqxgrid.columnsresize": "/jqwidgets/jqxgrid.columnsresize",
    "jqxgrid.edit": "/jqwidgets/jqxgrid.edit",
    "jqxgrid.export": "/jqwidgets/jqxgrid.export",
    "jqxgrid.filter": "/jqwidgets/jqxgrid.filter",
    "jqxgrid.grouping": "/jqwidgets/jqxgrid.grouping",
    "jqxgrid.pager": "/jqwidgets/jqxgrid.pager",
    "jqxgrid.selection": "/jqwidgets/jqxgrid.selection",
    "jqxgrid.sort": "/jqwidgets/jqxgrid.sort",
    "jqxgrid.storage": "/jqwidgets/jqxgrid.storage",

    "jqxloader": "/jqwidgets/jqxloader",

    "demos": "/scripts/demos",
  },
  shim: {
    "demos": {
      export: "$",
      deps: ["jQuery"]
    },
    "yvanui.core": {
      export: "$",
      deps: ["jQuery"]
    },
    "yvanui.components": {
      export: "$",
      deps: ["jQuery", "yvanui.core", "jqxtoolbar", "jqxdatatable",
        "jqxwindow",
        "jqxgrid", "jqxgrid.selection", "jqxgrid.columnsresize",
        "jqxgrid.aggregates", "jqxgrid.edit", "jqxgrid.storage",
        "jqxgrid.filter", "jqxgrid.sort", "jqxgrid.pager",
        "jqxgrid.grouping", "jqxgrid.pager"]
    },
    "yvanui.form": {
      export: "$",
      deps: ["jQuery", "yvanui.core", "jqxform"]
    },
    "jqxcore": {
      export: "$",
      deps: ['jQuery']
    },
    "jqxwindow": {
      export: "$",
      deps: ['jQuery', 'jqxcore']
    },
    "jqxnotification": {
      export: "$",
      deps: ['jQuery', 'jqxcore']
    },
    "jqxmenu": {
      export: "$",
      deps: ['jQuery', 'jqxcore']
    },
    "jqxbuttons": {
      export: "$",
      deps: ['jQuery', "jqxcore"]
    },
    "jqxpanel": {
      export: "$",
      deps: ['jQuery', "jqxcore"]
    },
    "jqxscrollbar": {
      export: "$",
      deps: ['jQuery', "jqxcore"]
    },
    "jqxtree": {
      export: "$",
      deps: ['jQuery', "jqxcore"]
    },
    "jqxtabs": {
      export: "$",
      deps: ['jQuery', "jqxcore"]
    },
    "jqxsplitter": {
      export: "$",
      deps: ['jQuery', "jqxcore"]
    },
    "jqxlistbox": {
      export: "$",
      deps: ['jQuery', "jqxcore"]
    },
    "jqxdropdownlist": {
      export: "$",
      deps: ['jQuery', "jqxcore"]
    },
    "jqxcombobox": {
      export: "$",
      deps: ['jQuery', "jqxcore"]
    },
    "jqxinput": {
      export: "$",
      deps: ['jQuery', "jqxcore"]
    },
    "jqxcalendar": {
      export: "$",
      deps: ['jQuery', "jqxcore"]
    },
    "jqxdatetimeinput": {
      export: "$",
      deps: ['jQuery', "jqxcore", "jqxcalendar"]
    },
    "jqxcheckbox": {
      export: "$",
      deps: ['jQuery', "jqxcore"]
    },
    "jqxradiobutton": {
      export: "$",
      deps: ['jQuery', "jqxcore"]
    },
    "jqxpasswordinput": {
      export: "$",
      deps: ['jQuery', "jqxcore"]
    },
    "jqxnumberinput": {
      export: "$",
      deps: ['jQuery', "jqxcore"]
    },
    "jqxform": {
      export: "$",
      deps: ['jQuery', "jqxcore",
        "jqxradiobutton", "jqxpasswordinput", "jqxnumberinput",
        "jqxcheckbox", "jqxbuttons", "jqxdropdownlist",
        "jqxinput", "jqxlistbox", "jqxscrollbar"]
    },
    "jqxloader": {
      export: "$",
      deps: ['jQuery', "jqxcore"]
    },
    "jqxtoolbar": {
      export: "$",
      deps: ['jQuery', "jqxcore", "jqxbuttons",
        "jqxscrollbar", "jqxlistbox", "jqxdropdownlist",
        "jqxcombobox", "jqxinput"]
    },
    "jqxdata": {
      export: "$",
      deps: ['jQuery', "jqxcore"]
    },
    "jqxdatatable": {
      export: "$",
      deps: ['jQuery', "jqxcore", "jqxdata", "jqxbuttons",
        "jqxscrollbar", "jqxlistbox", "jqxdropdownlist"]
    },
    "jqxgrid": {
      export: "$",
      deps: ['jQuery', "jqxcore", "jqxdata", "jqxbuttons", "jqxdatetimeinput",
        "jqxscrollbar", "jqxmenu", "jqxlistbox", "jqxdropdownlist"]
    },

    "jqxgrid.aggregates": {
      export: '$',
      deps: ['jQuery', 'jqxcore', 'jqxgrid']
    },
    "jqxgrid.columnsreorder": {
      export: '$',
      deps: ['jQuery', 'jqxcore', 'jqxgrid']
    },
    "jqxgrid.columnsresize": {
      export: '$',
      deps: ['jQuery', 'jqxcore', 'jqxgrid']
    },
    "jqxgrid.edit": {
      export: '$',
      deps: ['jQuery', 'jqxcore', 'jqxgrid']
    },
    "jqxgrid.export": {
      export: '$',
      deps: ['jQuery', 'jqxcore', 'jqxgrid']
    },
    "jqxgrid.filter": {
      export: '$',
      deps: ['jQuery', 'jqxcore', 'jqxgrid']
    },
    "jqxgrid.grouping": {
      export: '$',
      deps: ['jQuery', 'jqxcore', 'jqxgrid']
    },
    "jqxgrid.pager": {
      export: '$',
      deps: ['jQuery', 'jqxcore', 'jqxgrid']
    },
    "jqxgrid.selection": {
      export: '$',
      deps: ['jQuery', 'jqxcore', 'jqxgrid']
    },
    "jqxgrid.sort": {
      export: '$',
      deps: ['jQuery', 'jqxcore', 'jqxgrid']
    },
    "jqxgrid.storage": {
      export: '$',
      deps: ['jQuery', 'jqxcore', 'jqxgrid']
    },

    "jqxtreegrid": {
      export: "$",
      deps: ['jQuery', "jqxcore", "jqxdata", "jqxbuttons",
        "jqxscrollbar", "jqxlistbox", "jqxdropdownlist",
        "jqxdatatable"]
    }
  }
});
require(["requirejs-app"], function (App) {
  App.initialize();
});